package com.jf.cloud.service.sysmanager.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 其他登录方式绑定信息
 * 
 * @author 朱建文 创建时间：2018年5月9日 上午10:12:31
 */
@Entity
@Table(name = "pubg_user_login_banding")
public class PubgUserLoginBanding implements java.io.Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "ROW_ID")
	private Long rowId;
	
    /**
     * 用户ID
     */
	@Column(name = "USER_ID")
	private Long userId;
	
    /**
     * 用户名称
     */
	@Column(name = "USER_NAME")
	private String userName;
	
    /**
     * 第三方唯一标示
     */
	@Column(name = "THIRD_ID")
	private String thirdId;
	
    /**
     * 第三方账号
     */
	@Column(name = "THIRD_NAME")
	private String thirdName;
	
    /**
     * 登录类型
     */
	@Column(name = "THIRD_TYPE")
	private Integer thirdType;
	
    /**
     * 类型描述
     */
	@Column(name = "THIRD_TYPE_DESC")
	private String thirdTypeDesc;
	
    /**
     * 绑定时间
     */
	@Column(name = "BANDING_TIME")
	private String bandingTime;

	public Long getRowId() {
		return rowId;
	}

	public void setRowId(Long rowId) {
		this.rowId = rowId;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getThirdId() {
		return thirdId;
	}

	public void setThridId(String thirdId) {
		this.thirdId = thirdId;
	}

	public String getThirdName() {
		return thirdName;
	}

	public void setThirdName(String thirdName) {
		this.thirdName = thirdName;
	}

	public Integer getThirdType() {
		return thirdType;
	}

	public void setThirdType(Integer thirdType) {
		this.thirdType = thirdType;
	}

	public String getThirdTypeDesc() {
		return thirdTypeDesc;
	}

	public void setThirdTypeDesc(String thirdTypeDesc) {
		this.thirdTypeDesc = thirdTypeDesc;
	}

	public void setThirdId(String thirdId) {
		this.thirdId = thirdId;
	}

	public String getBandingTime() {
		return bandingTime;
	}

	public void setBandingTime(String bandingTime) {
		this.bandingTime = bandingTime;
	}

	@Override
	public String toString() {
		return "PubgUserLoginBanding{" +
			" rowId=" + rowId +
			", userId=" + userId +
			", userName=" + userName +
			", thirdId=" + thirdId +
			", thirdName=" + thirdName +
			", thirdType=" + thirdType +
			", thirdTypeDesc=" + thirdTypeDesc +
			", bandingTime=" + bandingTime +
			"}";
	}
}
